<template>
  <router-view> </router-view>
</template>

<script lang="ts">
import { defineComponent, onMounted, getCurrentInstance } from 'vue'
import HelloWorld from './components/HelloWorld.vue'

export default defineComponent({
  name: 'App',
  components: {
    HelloWorld
  },
  setup () {
    // const { ctx } = getCurrentInstance();
    onMounted(()=>{
      console.log('App onMounted')
      // console.log(ctx)
      // ctx.$router.back();
    })
  },
})
</script>

<style>
html, body {
  margin: 0;
  height: 100%;
}
* {
  scrollbar-width: none;
  -ms-overflow-style:none;
}
*::-webkit-scrollbar {
  display: none;
}

#app {
  height: 100%;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
</style>